<?php

class Application_Model_Tv extends Application_Model_Product
{
	protected $_tvId;
	protected $_type;
	protected $_threed;
	public static $_typeTvChoice = array(		'1' => 'LCD',
											 	'2' => 'LED',
												'3' => 'Plasma',
												'4' => 'Other',
											);
	
	

	public function getAttribs()
	{
		$attribs = array(
				'name'				=> $this->getName(),
				'description'		=> $this->getDescription(),
				'url'				=> $this->getUrl(),
				'images'			=> $this->getImages(),
				'model'				=> $this->getModel(),
				'brand'				=> $this->getBrand(),
				'type'				=> $this->getType(),
				'threed'			=> $this->getThreed(),
		);
		return $attribs;
	}
	
	/**
	 * @return the $_tvId
	 */
	public function getTvId() {
		return $this->_tvId;
	}

	/**
	 * @return the $_type
	 */
	public function getType() {
		return $this->_type;
	}


	/**
	 * @param field_type $_tvId
	 */
	public function setTvId($_tvId) {
		$this->_tvId = $_tvId;
	}

	/**
	 * @param field_type $_type
	 */
	public function setType($_type) {
		$this->_type = $_type;
	}



	/**
	 * @return the $_threed
	 */
	public function getThreed() {
		return $this->_threed;
	}
	
	/**
	 * @param field_type $_threed
	 */
	public function setThreed($_threed) {
		$this->_threed = $_threed;
	}

	public function getTypeRender($i){
		return $this::$_typeTvChoice[$i];
	}
	
	
}